php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#235956 - 02/11/03 01:02 AM [6.2] Board Rules 1.2
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name: Board Rules 1.2 <br />  1.1 is bugfixes and better support for tablewrappers <br />  1.2 adds a Template (thanks Omegatron) and fixes issues on certain servers. Also gives instructions so that the Who's Online page will show "Viewing the Rules". <br /> <br />Description: This produces a standard threads page to disply your Board Rules. Instructions are included to add the "Rules" link to your footer. <br /> <br />Author: JoshPet & Omegatron <br />        For discussion and bug reports go to www.threadsdev.com <br /> <br />Credits: Dalantech for table wrapper fixes and Omegatron for bug fixes. <br /> <br />Date: 2/11/03 <br /> <br />Working Under: 6.2 <br /> <br />Files Modified: ubbt_footer.tmpl, languages/english/generic.php <br /> <br />New Files: showrules.php <br /> <br />Database Modifications: None <br /> <br />Notes: Edit the rules from the Admin menu. You may wish to use simple HTML like <br /> for linebreaks, so that your rules appear best. <br />


Attachments
68343-BoardRules1.2.zip (80 downloads)



Edited by JoshPet (02/12/03 03:21 AM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235957 - 02/11/03 04:21 AM Re: [6.2] Board Rules 1.0 [Re: Daine]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Hi Josh,<br /><br />I tried to include it but got the following error usind the Board Rules link:<br />Parse error: parse error in /abspath/ubbthreads/showrules.php on line 71<br /><br />Any idea?<br />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#235958 - 02/11/03 03:48 PM Re: [6.2] Board Rules 1.0 [Re: edr]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Nice one Josh.<br /><br />It worked like a charm. I think that Rick has to consider this as a permanent feature in the next release.
_________________________
Nikos

Top
#235959 - 02/11/03 04:54 PM Re: [6.2] Board Rules 1.0 [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
It looks good on my site <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#235960 - 02/11/03 06:21 PM Re: [6.2] Board Rules 1.0 [Re: jacksonm99]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
I just installed it. Easy hack, and really handy so users can be reminded of how to behave. <img src="/forum/images/graemlins/wink.gif" alt="" />

Top
#235961 - 02/11/03 07:37 PM Re: [6.2] Board Rules 1.0 [Re: edr]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
[]Hi Josh, <br /> <br />I tried to include it but got the following error usind the Board Rules link: <br />Parse error: parse error in /abspath/ubbthreads/showrules.php on line 71 <br /> <br />Any idea? <br /> [/] <br /> <br />I get the same thing. The reason being is showrules.php has the ending ?> missing in the distribution file. However seems there are more errors than that
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#235962 - 02/11/03 08:24 PM Re: [6.2] Board Rules 1.0 [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK - <br />Updated the zip to version 1.1<br /><br />I don't know what happened... but it appears I someone had the wrong version of the showrules.php that I was using. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />I think I need sleep. Somehow I had an old version on my HD and the working version on measurection. <br /><br />Thanks to Dalantech for some tablewrapper tweaks and Omegatron for bugfixes. <br /><br />This should work this time. <br /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235963 - 02/11/03 08:37 PM Re: [6.2] Board Rules 1.0 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK - wait.<br /><br />For some reason this still doesn't work right on some boards. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />I'm not sure why... it seems to poop on the part where it reads the "rules" file. <br /><br />I took this bit from the newuser script, so I'm not sure what might be wrong with it. <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235964 - 02/11/03 08:47 PM Re: [6.2] Board Rules 1.0 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
He he.. nevermind.<br /><br />I reuploaded the file on the server it wasn't working on and now it works. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br /><img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />Let me know if there are any more issues. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235965 - 02/11/03 09:00 PM Re: [6.2] Board Rules 1.0 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK - this doesn't seem to like some servers. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />Could one of the Dave's or someone really PHP saavy take a look at this for me?<br /><br />The latest version seems to choke on line 64 I think... <br /><br />I took this code from the newuser.php but I don't fully understand it.<br /><br />Although it works fine for some. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br /><shrug>
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235966 - 02/11/03 09:04 PM Re: [6.2] Board Rules 1.0 [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Okay I am one of the guys whose server it chokes on LOL Anyway here is the templated version I did up that seems to work fine for me. <br /> <br />Edit: Worked Omegatron's template into the final version... attached to the main post. <br />Thanks. <img src="/forum/images/graemlins/cool.gif" alt="" />


Edited by JoshPet (02/12/03 03:23 AM)
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#235967 - 02/11/03 09:16 PM Re: [6.2] Board Rules 1.0 [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
If anyone has trouble with mine.. please see if Omegatron's fixes it. It should be templated anyway.<br /><br />As soon as we see that it works for everyone... I'll update the main post with Omegatron's templates... as that's the right way to do it. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Good work Omegatron! <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />Thank you!
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235968 - 02/11/03 09:19 PM Re: [6.2] Board Rules 1.0 [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Josh It looks like its calling for boardrules.php mine is called showrules.php ? Did you use a different name?<br /><br /> Anyway going to try chucks now..

Top
#235969 - 02/11/03 09:22 PM Re: [6.2] Board Rules 1.0 [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
boardrules.php is the file in the includes directory where the rules are stored. It's basically a text file, editable from the admin section.<br /><br />That shouldn't be the issue. But I'm puzzled. Maybe Omegatron fixed it. <hope hope hope>
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235970 - 02/11/03 09:37 PM Re: [6.2] Board Rules 1.0 [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
yes his works like a charm ... good work guys, THANKS


Edited by Smilesforu (02/11/03 09:38 PM)

Top
#235971 - 02/12/03 02:20 AM Re: [6.2] Board Rules 1.0 [Re: Kelly]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
I updated to version 1.1 and still getting an error<br /><br />Parse error: parse error in /abspath/ubbthreads/showrules.php on line 65<br /><br />line 63> $boardrules .= <<<EOF<br />line 64> </td><br />line 64> </tr><br /><br />The old parser error I got was also near <br />$boardrules .= <<<EOF<br /><br />You can see a demo here ;D<br />http://www.clanforums.com/ubbthreads/showrules.php?Cat=
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#235972 - 02/12/03 02:23 AM Re: [6.2] Board Rules 1.0 [Re: edr]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Do me a favor... try omegatron's version here and let me know if that fixes it. <br /><br />If it does, I'll update the main zip. <br /><br />His additions are better... and more standardized as it adds a template. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235973 - 02/12/03 02:49 AM Re: [6.2] Board Rules 1.0 [Re: Daine]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
omegatron's solution is working fine for me <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#235974 - 02/12/03 02:51 AM Re: [6.2] Board Rules 1.0 [Re: edr]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Great!<br /><br />Three cheers for omegatron! <img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235975 - 02/12/03 03:21 AM Re: [6.2] Board Rules 1.2 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Updated the main post to Included Omegatron's template, plus support for the who's online page. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Thanks. <img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks